﻿using Microsoft.Practices.Unity;
using System;
using System.Windows.Forms;

namespace PatientManagement
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            IUnityContainer container = new UnityContainer();
            //Resolve mainForm
            Form mainForm = container.Resolve<FormMain>();

            Application.Run(mainForm);
        }
    }
}
